class DashboardController < ApplicationController
  def index
    @rides = Ride.paginate :page => params[:page], :per_page => 10, :include => [:bike, :route], :order => "ride_on DESC"
    @bikes = Bike.find(:all)
    @routes = Route.find(:all, :limit => 20)
  end
end
